package com.zbf.dbconfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/24  0:16
 * 描述:
 */
@ConfigurationProperties(prefix = "spring.datasource1")
@Component
@Data
public class Db2 {

    private String url;

    private String userName;

    private String password;

    private String driverClassName;


}
